package com.ktjy.ktmall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.ktmall.domain.TOrder;
import com.ktjy.ktmall.mapper.TOrderMapper;
import com.ktjy.ktmall.service.TOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单Service业务层处理
 */
@Service
public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder>
        implements TOrderService {
    @Autowired
    private TOrderMapper tOrderMapper;

    /**
     * 查询订单列表
     */
    @Override
    public List<TOrder> selectOrderList(TOrder tOrder)
    {
        return tOrderMapper.selectOrderList(tOrder);
    }
}